package com.yourwork.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.yourwork.model.StaffManagement;
/**
 * 员工管理Service
 * **/

public interface StaffManagementServic {
	//条件分页查询
	public List<StaffManagement> queryEmployeeManage(int page,int size,String status);
	//个人信息查询
	public List<StaffManagement> queryDetailed(int id);
	//上传文件
	public String uploadFile(MultipartFile file);
	//添加员工
	public String insertEmployee(StaffManagement em);
	//修改员工信息
	public String updateEmployee(StaffManagement em);
	//获取员工总数
	public int countEmployee();
	//根据员工编号查询
	public StaffManagement queryNumber(String number);
	//最大页数
	public int queryMaxPage(int page, int size, String string);
}
